package com.hibernate.pojo;

import org.springframework.stereotype.Component;

/**
 * Order entity. @author MyEclipse Persistence Tools
 */

@Component("order")
public class Order implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer userId;
	private String content;
	private String address;
	private Double phone;
	private String state;

	// Constructors

	/** default constructor */
	public Order() {
	}

	/** full constructor */
	public Order(Integer userId, String content, String address, Double phone,
			String state) {
		this.userId = userId;
		this.content = content;
		this.address = address;
		this.phone = phone;
		this.state = state;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Double getPhone() {
		return this.phone;
	}

	public void setPhone(Double phone) {
		this.phone = phone;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

}